package com.plug.repository;

import com.plug.entity.PlugCompareTask;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PlugCompareTaskMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PlugCompareTask record);

    int insertSelective(PlugCompareTask record);

    PlugCompareTask selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PlugCompareTask record);

    int updateByPrimaryKey(PlugCompareTask record);

    List<PlugCompareTask> findAll();

    int findTotal();

    int deleteBatch(List<Integer> list);

    List<Map<String,Object>> findPages(@Param("offset")Integer offset,@Param("limit")Integer limit);
}